using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;

using Peradigm.Framework.Domain.Security;
using Peradigm.Framework.Persistence;

namespace Liberty.Domain.GrantManagement
{
    [Serializable]
    public class DeliveryMethod : ReferenceValue
    {
        #region Constants
        public const string DESCRIPTION = "A Method of Delivery";
        #endregion

        #region Event Handlers
        #endregion

        #region Methods
        #endregion

        #region Properties
        #endregion

        #region Private Methods
        #endregion

        #region Private Properties
        #endregion

        #region Construction and Finalization
        /// <summary>
        /// Creates a stubbed delivery method populated with frequently used primitives.  
        /// Other aggregated objects are not populated by this factory method.
        /// </summary>
        /// <returns></returns>
        public static DeliveryMethod TestInstance()
        {
            DeliveryMethod stub = new DeliveryMethod( 12L, DeliveryMethod.NEW_VERSION, DESCRIPTION, 1L, true );
            
            return stub;
        }        

        public DeliveryMethod( string description, long ranking, bool active )
            : base( description, ranking, active )
        {
        }

        public DeliveryMethod( long oid, byte[] rowLock, string description, long ranking, bool active )
            : base( oid, rowLock, description, ranking, active )
        {
        }
        
        #endregion

        #region Data Elements
        #endregion

    } 
} 